package top.fullj.win32;

import com.sun.jna.Structure;

/**
 * https://docs.microsoft.com/zh-cn/windows/win32/api/winbase/ns-winbase-comstat
 *
 * @author bruce.wu
 * @since 2019/11/14 9:45
 */
@SuppressWarnings("SpellCheckingInspection")
@Structure.FieldOrder({
        "dwFlags",
        "cbInQue",
        "cbOutQue",
})
public class COMSTAT extends Structure {

    /**
     *   DWORD fCtsHold : 1;
     *   DWORD fDsrHold : 1;
     *   DWORD fRlsdHold : 1;
     *   DWORD fXoffHold : 1;
     *   DWORD fXoffSent : 1;
     *   DWORD fEof : 1;
     *   DWORD fTxim : 1;
     *   DWORD fReserved : 25;
     */
    public int dwFlags;
    public int cbInQue;
    public int cbOutQue;

}
